"""project URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
# from django.contrib import admin
from django.urls import path
from user import views as api
from goods import views as goods_api

urlpatterns = [
    # path('admin/', admin.site.urls),
    path('login/',api.login),
    path('users/',api.users),
    path('adduser/',api.adduser),
    path('search_id/',api.search_id),
    path('modify_user_passwd/',api.modify_user_passwd),
    path('modify_user_jypasswd/',api.modify_user_jypasswd),
    path('delete_user/',api.delete_user),
    path('get_verify_code/',api.get_verify_code),

    #收款码
    path('get_card_state/',api.get_card_state),
    path('get_wx_detail/',api.get_wx_detail),
    path('get_ali_detail/',api.get_ali_detail),
    path('get_yhk_detail/',api.get_yhk_detail),
    path('get_renzheng_detail/',api.get_renzheng_detail),
    path('get_recommend_detail/',api.get_recommend_detail),

    path('upload_wxShouKuanMa/',api.upload_wxShouKuanMa),
    path('upload_zfbShouKuanMa/',api.upload_zfbShouKuanMa),
    path('add_wx/',api.add_wx),
    path('add_zfb/',api.add_zfb),
    path('add_yhk/',api.add_yhk),
    path('add_idcard/',api.add_idcard),
    #注册邀请码
    path('get_register_ewm/',api.get_register_ewm),

    #用户个人信息
    path('modify_profile/',api.modify_profile),
    path('profile_img/',api.profile_img),
    path('modify_username/',api.modify_username),

    path('perm/',api.perm),
    path('roles/',api.roles),

    #宠物model下相关路由
    path('goods/',goods_api.goods),
    path('yuyue/',goods_api.yuyue),
    path('get_yuyue/',goods_api.get_yuyue),
    path('yuyue_failed/',goods_api.yuyue_failed),

    path('select_pet/',goods_api.select_pet),



]
